﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.master" AutoEventWireup="true" CodeBehind="RealizarPresencaBulk.aspx.cs" Inherits="Gacn.ControleAlunos.WebApplication.RealizarPresencaBulk" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Scripts" runat="server">
    <script type="text/javascript">
        jQuery(function () {
            jQuery('ul.sf-menu').superfish();
        });

        //Funcao padrao, caso queira executar algo no onLoad da página
        function inicializarPagina() {
            $(function () {
                $("#ctl00_Miolo_datepicker").datepicker();
                $("#ctl00_Miolo_datepicker").datepicker("option", "dateFormat", 'yy/mm/dd');
            });
        }
    </script>

    <%--Pega o locale do Google Trunk--%>
    <script src="http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/jquery.ui.datepicker-pt-BR.js"
            type="text/javascript">
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Miolo" Runat="Server">
    <div class="grid_12">
                 
       
       <h3>Realizar Presenca via Arquivo de Texto</h3>
       
       <p>Para realizar a presenca com um arquivo de texto, garanta que cada linha do arquivo contenha apenas o código do Aluno.</p>
       
       
       <!-- INICIO PRESENCA WRAPPER -->
       <div id="presencawrapper">
       		<form action="" method="post" enctype="multipart/form-data" runat="server">
               <table width="50%">
                   <tr>
                       <td><label>Arquivo</label></td>
                       <td><label>Data da aula</label></td>
                   </tr>
                   <tr>
                       <td><asp:FileUpload ID="fileUploadPresencas" runat="server" /></td>
                       <td><asp:TextBox ID="datepicker" runat="server" CssClass="text" /></td>
                   </tr>
               </table>
          		<p>
                    <asp:Button ID="btnEnviar" 
                        runat="server" 
                        Text="Enviar" 
                        CssClass="submit" 
                        onclick="btnEnviar_Click" />

                      <asp:Image ID="imgErro" 
                            runat="server" 
                            ImageUrl="~/images/16X16/error.png"
                            Visible="false" />

                      <asp:Image ID="imgSucesso"
                            runat="server" 
                            Visible="false"
                            ImageUrl="~/images/16X16/accept.png" />

        		</p>
                <p>
                    <asp:TextBox ID="txtResultado" 
                            runat="server" 
                            TextMode="MultiLine"
                            ReadOnly="True" 
                            Width="100%" 
                            Rows="5"
                            Visible="false"/>
                </p>
       		</form>
       </div> <!-- FIM PRESENCA WRAPPER -->
          
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SetCurrentPage" runat="server">
    <script type="text/javascript">
</script>
</asp:Content>
